<div class="container " style="background-color:white;" id="eleventh" >
    <nav class="navbar  navbar-form  " role="navigation">
        <div class="nav-header"> 设置Windows</div>
    </nav>
    <div style="text-align: center">
        <h3 style="color: blue">为账户设置密码</h3>
        <div class="container" style="margin-top: 30px;">        
            <p>创建密码是一项明智的安全预防措施，可以帮助阻止其他用户访问你的用户帐号，请无比记住您
                <br> 的密码或将其保存在一个安全的地方。</p><br>
            <p> 键入密码(推荐)(P):</p>
            <p>  <input type="password"id="pwd"><p></p>
            <p>   再次键入密码(R):</p>
            <p>  <input type="password" id="spwd"></p>
            <p>   输入密码提示(H):<p>
            <p>   <input type="text"><br>
                请选择有助于记住密码的单词或短语。<br>
                如果您忘记密码,windows将显示密码提示。
            </p>

        </div>
    </div>
    <div class="offset7" style="margin-top: 40px">
        <button id="set2-to-set1" class="btn">上一步(B)</button>
        <button id="set1-to-set2" class="btn" onclick="checkPwd()">下一步(N)</button>
    </div>
    <script>
        function checkPwd() {
            var pwd, spwd;
            pwd = document.getElementById("pwd").value;
            spwd = document.getElementById("spwd").value;
            if (!(pwd == spwd))
                alert("password is not consistent ");
        }
        $(document).ready(function () {
            $("#set1-to-set2").click(function () {
                $('#begin').load('<?php echo Yii::app()->BaseUrl; ?>/index.php?r=win7/twelfth');
            });
        });
        $(document).ready(function () {
            $("#set2-to-set1").click(function () {
                $('#begin').load('<?php echo Yii::app()->BaseUrl; ?>/index.php?r=win7/tenth');
            });
        });
    </script>
</div>

